package com.cskaoyan.service;

import com.cskaoyan.bean.MarketRole;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.roleBo.RoleBo2;
import com.cskaoyan.bean.roleBo.RolePermissionsBo;
import com.cskaoyan.bean.roleVo.RoleCreateVo;
import com.cskaoyan.bean.roleVo.RoleOptionVo;
import com.cskaoyan.bean.roleVo.RoleVo;

/**
 * @Author Austin Hsu
 * @Date 2022/9/9 22:31
 */
public interface RoleService {

    void insert(RoleBo2 bo);

    void insert2(String[] s);

    CommonData<MarketRole> query(MarketRole marketRole, BasePageInfo info);

    MarketRole create(MarketRole marketRole);

    RoleVo permissions(Integer roleId);

    RoleVo permissions2(RolePermissionsBo rolePermissionsBo);

    RoleCreateVo update(MarketRole marketRole);

    RoleCreateVo delete(MarketRole marketRole);

    CommonData<RoleOptionVo> options();
}
